<template>
  <n-el tag="div" class="box-main">
    <n-el tag="span" class="border_bg_leftTop"></n-el>
    <n-el tag="span" class="border_bg_rightTop"></n-el>
    <n-el tag="span" class="border_bg_leftBottom"></n-el>
    <n-el tag="span" class="border_bg_rightBottom"></n-el>
    <slot>
    </slot>
  </n-el>
</template>

<script lang="ts" name="HzBox8">
</script>

<style scoped>
.box-main {
  width: 100%;
  height: 100%;
  position: relative;
  border:2px solid rgba(14,253,255,0.5);
  border-radius: 10px;
  border-image-slice: 32 fill;
}

.border_bg_leftTop, .border_bg_rightTop, .border_bg_leftBottom, .border_bg_rightBottom {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.border_bg_leftTop {
  background: url("/@assets/hz-box/8/title_left_bg.png") no-repeat top left;
}


.border_bg_rightBottom {
  background: url("/@assets/hz-box/8/title_right_bg.png") no-repeat bottom right;
}
</style>